﻿@model tutors_clus.Models.news

@{
    ViewBag.Title = "Chi tiết tin tức";
    Layout = "~/Views/Shared/_Layout_Private.cshtml";
}
<div id="cleft">@Html.Partial("_menu_admin")</div>
<div id="cright">
<div id="frm_detail">
<fieldset>
    <legend>news</legend>
    <div class="display-field">
        <h3>@Html.DisplayFor(model => model.title_new)</h3>
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.image_news)
    </div>
    <div class="display-field">
        <img src="@Model.image_news" alt="Alternate Text" width="300" height="300" />
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.create_date_new):
        @Html.DisplayFor(model => model.create_date_new)
     </div>
    <div class="display-label">
         @Html.DisplayNameFor(model => model.writer_new):
        @Html.DisplayFor(model => model.writer_new)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.detail_new):
    </div>
    <div class="display-field">
        @*@Html.DisplayFor(model => model.detail_new)*@
        @MvcHtmlString.Create(Model.detail_new)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.status_new)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.status_new)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Sửa", "Edit_news", new { id=Model.id_new }) |
    @Html.ActionLink("Trở về", "Show_news")
</p>
</div>
</div>